package Video
{
	import SplineComponent.SplineComponentModel;

	public class VideoModel extends SplineComponentModel
	{
		private var lessonModel_object:Object;
		private var lessonView_object:Object;
		private var videoView:VideoView;
		private var videoController:VideoController;
		public function VideoModel(lessonModel:Object, lessonView:Object)
		{
			super();
			this.lessonModel_object = lessonModel;
			this.lessonView_object = lessonView;
			this.videoController = new VideoController(this);
			this.videoView= new VideoView(this,this.videoController,this.lessonView_object);
			
		}
		
	/*	private function registerModelToLessonModel():void
		{
			var infoObj_object:Object = new Object;
			infoObj_object.message = "registerComponentModel";
			infoObj_object.model = this;
			infoObj_object.title = "video";
			this.sendInfoToLessonModel(infoObj_object);
		}*/
		
		private function unregisterModelFromLessonModel():void
		{
			var infoObj_object:Object = new Object;
			infoObj_object.message = "unregisterComponentModel";
			infoObj_object.title = "video";
			this.sendInfoToLessonModel(infoObj_object);
		}
		
		/* private function sendInfoToLessonModel(infoObj_object:Object):void
		{
			this.lessonModel_object.incomingMessageGateway(infoObj_object);
		}
		 */
		private function incomingMessageGateway(infoObj_object:Object):void
		{
			
		}
	}
}